<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
	<meta http-equiv="Cache-Control" content="no-siteapp">
	<title>
		<neq name="navtitle">{$navtitle} - </neq>{:C('WEB_SITE_TITLE')}
	</title>
	<meta name="keywords" content="<neq name='metakeywords'>{$metakeywords|htmlspecialchars}</neq>" />
	<meta name="description" content="<neq name='$metadescription'>{$metadescription|htmlspecialchars}</neq>{:C('WEB_SITE_TITLE')}" />
	<meta name="generator" content="JYCMS $_G['setting']['version']" />
	<meta name="author" content="Hoping" />
	<link rel="stylesheet" id="style-css" href="__CSS__/style.css" type="text/css" media="all">
	<link rel="stylesheet" id="style-css" href="__CSS__/glyphicon.css" type="text/css" media="all">
	<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	<script src="__STATIC__/bootstrap/js/html5shiv.js"></script>
	<![endif]-->
	<block name="style"></block>

	<!--[if lt IE 9]>
	<script type="text/javascript" src="__STATIC__/jquery-1.10.2.min.js"></script>
	<![endif]-->
	<!--[if gte IE 9]><!-->
	<script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script>
	<script type="text/javascript" src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
	<!--<![endif]-->

<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?ba0a6923f29e18dd9dde905a32075e92";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>

<!-- 页面header钩子，一般用于加载插件CSS文件和代码 -->
{:hook('pageHeader')}
</head>
<body class="home ui-navtop ">
	<!-- 头部 -->
<!-- 导航条
================================================== -->
<div id="append_parent"></div><div id="ajaxwaitid" style="position:absolute;top:0px;color:#ff0000;right:5px;display:none;"></div>
<header class="header">
	<div class="container">
		<div class="logo"><a href="__ROOT__/" title="{:C('WEB_SITE_TITLE')}">{:C('WEB_SITE_TITLE')}</a></div>
		<ul class="nav">
			<Think:nav name="nav">
				<eq name="nav.pid" value="0">
					<li>
						<a href="{$nav.url|get_nav_url}" target="<eq name='nav.target' value='1'>_blank<else/>_self</eq>">
							{$nav.title}
						</a>
						<if condition="$nav[sub]">
							<ul class="sub-menu">
							<volist name="$nav.sub" id="sub">
								<li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-{$sub[id]}">
									<a href="{$sub[url]}">{$sub[name]}</a>
									<if condition="$sub[sub]">
										<ul class="sub-menu">
											<volist name="$sub.sub" id="thr">
											<li>
												<a href="{$thr[url]}">{$thr[name]}</a>
											</li>
											</volist>
										</ul>
									</if>
								</li>

							</volist>
							</ul>
						</if>
					</li>
				</eq>
			</Think:nav>
		</ul>
		<div class="deliver">
			<div id="controlcpanel" class="dropdown-toggle"
            <if condition="is_login()">
			data-toggle="dropdown"
			<else />
			evt="login"
			</if>
			><i class="glyphicon glyphicon-user"></i>
			<if condition="is_login()">
			会员中心
			<else />
			登陆帐号
			</if>
		</div>
		<if condition="is_login()">
		<ul class="dropdown-menu pull-right">
			<li><a href="{:U('home/user/profile')}">密码</a></li>
			<li><a href="{:U('home/user/logout')}">注销</a></li>
		</ul>
		</if>
	</div>
		<form class="search-form">
			<input class="form-control" name="s" type="text" id="bdcsMain" placeholder="输入关键字"><input class="btn" type="submit" evt="search" value="搜索">
		</form>
</div>
</header>

	<!-- /头部 -->

	<!-- 主体 -->
<block name="header"></block>
<div id="main-container" class="container">
    <div class="row">
        <block name="side">
        <!-- 左侧 nav
        ================================================== -->
            <div class="span3 bs-docs-sidebar">
                <block name="publish"></block>
                <ul class="nav nav-list bs-docs-sidenav">
                    {:W('Category/lists', array($category['id'], ACTION_NAME == 'index'))}
                </ul>
            </div>
        </block>
        <block name="body"></block>
    </div>
</div>

<script type="text/javascript">
    $(function(){
        $(window).resize(function(){
            $("#main-container").css("min-height", $(window).height() - 343);
        }).resize();
    })
</script>
<!-- /主体 -->

	<!-- 底部 -->
<footer class="footer">
	Copyright &#169; 2009-2014 <strong>JYCMS</strong> <em>{$conf['version']}</em>. All Rights Reserved.
    &nbsp; 感谢 <a href="http://www.daqianduan.com/" target="_blank">浩子</a> 设计开发
</footer>

<script type="text/javascript">(function(){document.write(unescape('%3Cdiv id="bdcs"%3E%3C/div%3E'));var bdcs = document.createElement('script');bdcs.type = 'text/javascript';bdcs.async = true;bdcs.src = 'http://znsv.baidu.com/customer_search/api/js?sid=14096985159856254995' + '&plate_url=' + encodeURIComponent(window.location.href) + '&t=' + Math.ceil(new Date()/3600000);var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(bdcs, s);})();</script>

<script type="text/javascript">
(function(){
	var ThinkPHP = window.Think = {
		"ROOT"   : "__ROOT__", //当前网站地址
		"APP"    : "__APP__", //当前项目地址
		"PUBLIC" : "__PUBLIC__", //项目公共目录地址
		"DEEP"   : "{:C('URL_PATHINFO_DEPR')}", //PATHINFO分割符
		"MODEL"  : ["{:C('URL_MODEL')}", "{:C('URL_CASE_INSENSITIVE')}", "{:C('URL_HTML_SUFFIX')}"],
		"VAR"    : ["{:C('VAR_MODULE')}", "{:C('VAR_CONTROLLER')}", "{:C('VAR_ACTION')}"]
	}
})();
var login_uid = "{:is_login()}", SITEURL = "__ROOT__";
</script>
<script src="__JS__/custom.js?ver=1"></script>
<block name="script"></block> <!-- 用于加载js代码 -->
<!-- 页面footer钩子，一般用于加载插件JS文件和JS代码 -->
{:hook('pageFooter', 'widget')}
<div class="hidden"><!-- 用于加载统计代码等隐藏元素 -->
	<block name="hidden"></block>
</div>

	<!-- /底部 -->
</body>
</html>
